package com.yiren.dbaa.module.common.bean;

import com.yiren.dbaa.module.device.bean.DeviceMessageBean;
import com.yiren.backstage.currency.bean.UserInfoBean;

/**
 * @author lwb
 * @date : 2022/3/1 10:50
 * @description: 用户配置内容实体
 */
public class UserConfigBean {

    private String ues;
    private DeviceMessageBean equipment;
    private boolean ppaternerInfo;
    private UserUpdateUrlBean userUpdateUrl;
    private UserInfoBean user;
    private boolean highOrderInfo;

    public String getUes() {
        return ues;
    }

    public void setUes(String ues) {
        this.ues = ues;
    }

    public DeviceMessageBean getEquipment() {
        return equipment;
    }

    public void setEquipment(DeviceMessageBean equipment) {
        this.equipment = equipment;
    }

    public boolean isPpaternerInfo() {
        return ppaternerInfo;
    }

    public void setPpaternerInfo(boolean ppaternerInfo) {
        this.ppaternerInfo = ppaternerInfo;
    }

    public UserUpdateUrlBean getUserUpdateUrl() {
        return userUpdateUrl;
    }

    public void setUserUpdateUrl(UserUpdateUrlBean userUpdateUrl) {
        this.userUpdateUrl = userUpdateUrl;
    }

    public UserInfoBean getUser() {
        return user;
    }

    public void setUser(UserInfoBean user) {
        this.user = user;
    }

    public boolean isHighOrderInfo() {
        return highOrderInfo;
    }

    public void setHighOrderInfo(boolean highOrderInfo) {
        this.highOrderInfo = highOrderInfo;
    }


    public static class UserUpdateUrlBean {
        /**
         * id : 10
         * userId : 8739
         * userPhone : 18942500361
         * type : 1
         * environment : 1
         * hardwareUrl : http://oss-cn-shenzhen.aliyuncs.com/dbafTest/4gobd/DB32A/update.zip
         * softwareUrl :
         * softwareUrlSub2 :
         * hardwareUpdateStatement : http://oss-cn-shenzhen.aliyuncs.com/dbafTest/4gobd/DB32A/config.txt
         * softwareUpdateStatement :
         * softwareUpdateStatementSub2 :
         * configName : OBD获取高精度信息
         * createUser : string str
         * createTime : 2020-12-28 21:32:03
         */
        private int id;
        private int userId;
        private String userPhone;
        private int type;
        private String environment;
        private String hardwareUrl;
        private String softwareUrl;
        private String softwareUrlSub2;
        private String hardwareUpdateStatement;
        private String softwareUpdateStatement;
        private String softwareUpdateStatementSub2;
        private String configName;
        private String createUser;
        private String createTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getEnvironment() {
            return environment;
        }

        public void setEnvironment(String environment) {
            this.environment = environment;
        }

        public String getHardwareUrl() {
            return hardwareUrl;
        }

        public void setHardwareUrl(String hardwareUrl) {
            this.hardwareUrl = hardwareUrl;
        }

        public String getSoftwareUrl() {
            return softwareUrl;
        }

        public void setSoftwareUrl(String softwareUrl) {
            this.softwareUrl = softwareUrl;
        }

        public String getSoftwareUrlSub2() {
            return softwareUrlSub2;
        }

        public void setSoftwareUrlSub2(String softwareUrlSub2) {
            this.softwareUrlSub2 = softwareUrlSub2;
        }

        public String getHardwareUpdateStatement() {
            return hardwareUpdateStatement;
        }

        public void setHardwareUpdateStatement(String hardwareUpdateStatement) {
            this.hardwareUpdateStatement = hardwareUpdateStatement;
        }

        public String getSoftwareUpdateStatement() {
            return softwareUpdateStatement;
        }

        public void setSoftwareUpdateStatement(String softwareUpdateStatement) {
            this.softwareUpdateStatement = softwareUpdateStatement;
        }

        public String getSoftwareUpdateStatementSub2() {
            return softwareUpdateStatementSub2;
        }

        public void setSoftwareUpdateStatementSub2(String softwareUpdateStatementSub2) {
            this.softwareUpdateStatementSub2 = softwareUpdateStatementSub2;
        }

        public String getConfigName() {
            return configName;
        }

        public void setConfigName(String configName) {
            this.configName = configName;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }

}
